const assert = require("assert");
const snippet = require('../../service/snippet.service')

describe('测试snippet', () => {
    it('should 测试随机输出中间词', () => {
        console.log(snippet.getMiddleWords());
    });

    it('测试输出某地 从省 到街道', () => {
        let index = 1
        while (index > 0) {
            console.log(snippet.getCity());
            index--;
        }
    })
    it('should 测试句子生成', async () => {
        let res = await snippet.getSentenceByRand()
        console.log(res)
    });
});